package com.kqb.common.core.enums;

/**
 * @author 杉果树皮
 * @date 2025/4/12 15:53
 * @description:
 */
public enum ResponseEnum {
    /**
     * ok
     */
    OK(200, "ok");


    private final int code;

    private final String msg;

    public int value() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    ResponseEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "ResponseEnum{" + "code='" + code + '\'' + ", msg='" + msg + '\'' + "} " + super.toString();
    }

}
